package com.ys.entity.business;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TP_ProductActiveSq", catalog="Id")
public class TpProductActiveSq extends BaseEntity<TpProductActiveSq> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Bid", nameJava="bid", typeDataBase="varchar")
	private String bid;
	@YsField(nameDataBase="CreateChangeId", nameJava="createChangeId", typeDataBase="bigint")
	private String createChangeId;
	@YsField(nameDataBase="EffectStock", nameJava="effectStock", typeDataBase="tinyint")
	private Integer effectStock;
	@YsField(nameDataBase="VgsBm", nameJava="vgsBm", typeDataBase="varchar")
	private String vgsBm;
	@YsField(nameDataBase="ListingId", nameJava="listingId", typeDataBase="bigint")
	private Long listingId;
	@YsField(nameDataBase="Code", nameJava="code", typeDataBase="varchar")
	private String code;
	@YsField(nameDataBase="Name", nameJava="name", typeDataBase="varchar")
	private String name;
	@YsField(nameDataBase="CodeMerge", nameJava="codeMerge", typeDataBase="varchar")
	private String codeMerge;
	@YsField(nameDataBase="Fprice", nameJava="fprice", typeDataBase="decimal")
	private BigDecimal fprice;
	@YsField(nameDataBase="VspLm1", nameJava="vspLm1", typeDataBase="varchar")
	private String vspLm1;
	@YsField(nameDataBase="Vtitle", nameJava="vtitle", typeDataBase="varchar")
	private String vtitle;
	@YsField(nameDataBase="VspGjz", nameJava="vspGjz", typeDataBase="varchar")
	private String vspGjz;
	@YsField(nameDataBase="VspMd1", nameJava="vspMd1", typeDataBase="varchar")
	private String vspMd1;
	@YsField(nameDataBase="VspMd2", nameJava="vspMd2", typeDataBase="varchar")
	private String vspMd2;
	@YsField(nameDataBase="VspMd3", nameJava="vspMd3", typeDataBase="varchar")
	private String vspMd3;
	@YsField(nameDataBase="VspMd4", nameJava="vspMd4", typeDataBase="varchar")
	private String vspMd4;
	@YsField(nameDataBase="VspMd5", nameJava="vspMd5", typeDataBase="varchar")
	private String vspMd5;
	@YsField(nameDataBase="VspZt", nameJava="vspZt", typeDataBase="varchar")
	private String vspZt;
	@YsField(nameDataBase="VspZt1", nameJava="vspZt1", typeDataBase="varchar")
	private String vspZt1;
	@YsField(nameDataBase="VspCct", nameJava="vspCct", typeDataBase="varchar")
	private String vspCct;
	@YsField(nameDataBase="VspXjt1", nameJava="vspXjt1", typeDataBase="varchar")
	private String vspXjt1;
	@YsField(nameDataBase="VspXjt2", nameJava="vspXjt2", typeDataBase="varchar")
	private String vspXjt2;
	@YsField(nameDataBase="VspXjt3", nameJava="vspXjt3", typeDataBase="varchar")
	private String vspXjt3;
	@YsField(nameDataBase="VspCjt1", nameJava="vspCjt1", typeDataBase="varchar")
	private String vspCjt1;
	@YsField(nameDataBase="VspCjt2", nameJava="vspCjt2", typeDataBase="varchar")
	private String vspCjt2;
	@YsField(nameDataBase="VspCjt3", nameJava="vspCjt3", typeDataBase="varchar")
	private String vspCjt3;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TpProductActiveSq setId(Long id) {
		this.id = id;
		return this;
	}
	public String getBid() {
		return bid;
	}
	public TpProductActiveSq setBid(String bid) {
		this.bid = bid;
		return this;
	}
	public String getCreateChangeId() {
		return createChangeId;
	}
	public TpProductActiveSq setCreateChangeId(String createChangeId) {
		this.createChangeId = createChangeId;
		return this;
	}
	public Integer getEffectStock() {
		return effectStock;
	}
	public TpProductActiveSq setEffectStock(Integer effectStock) {
		this.effectStock = effectStock;
		return this;
	}
	public String getVgsBm() {
		return vgsBm;
	}
	public TpProductActiveSq setVgsBm(String vgsBm) {
		this.vgsBm = vgsBm;
		return this;
	}
	public Long getListingId() {
		return listingId;
	}
	public TpProductActiveSq setListingId(Long listingId) {
		this.listingId = listingId;
		return this;
	}
	public String getCode() {
		return code;
	}
	public TpProductActiveSq setCode(String code) {
		this.code = code;
		return this;
	}
	public String getName() {
		return name;
	}
	public TpProductActiveSq setName(String name) {
		this.name = name;
		return this;
	}
	public String getCodeMerge() {
		return codeMerge;
	}
	public TpProductActiveSq setCodeMerge(String codeMerge) {
		this.codeMerge = codeMerge;
		return this;
	}
	public BigDecimal getFprice() {
		return fprice;
	}
	public TpProductActiveSq setFprice(BigDecimal fprice) {
		this.fprice = fprice;
		return this;
	}
	public String getVspLm1() {
		return vspLm1;
	}
	public TpProductActiveSq setVspLm1(String vspLm1) {
		this.vspLm1 = vspLm1;
		return this;
	}
	public String getVtitle() {
		return vtitle;
	}
	public TpProductActiveSq setVtitle(String vtitle) {
		this.vtitle = vtitle;
		return this;
	}
	public String getVspGjz() {
		return vspGjz;
	}
	public TpProductActiveSq setVspGjz(String vspGjz) {
		this.vspGjz = vspGjz;
		return this;
	}
	public String getVspMd1() {
		return vspMd1;
	}
	public TpProductActiveSq setVspMd1(String vspMd1) {
		this.vspMd1 = vspMd1;
		return this;
	}
	public String getVspMd2() {
		return vspMd2;
	}
	public TpProductActiveSq setVspMd2(String vspMd2) {
		this.vspMd2 = vspMd2;
		return this;
	}
	public String getVspMd3() {
		return vspMd3;
	}
	public TpProductActiveSq setVspMd3(String vspMd3) {
		this.vspMd3 = vspMd3;
		return this;
	}
	public String getVspMd4() {
		return vspMd4;
	}
	public TpProductActiveSq setVspMd4(String vspMd4) {
		this.vspMd4 = vspMd4;
		return this;
	}
	public String getVspMd5() {
		return vspMd5;
	}
	public TpProductActiveSq setVspMd5(String vspMd5) {
		this.vspMd5 = vspMd5;
		return this;
	}
	public String getVspZt() {
		return vspZt;
	}
	public TpProductActiveSq setVspZt(String vspZt) {
		this.vspZt = vspZt;
		return this;
	}
	public String getVspZt1() {
		return vspZt1;
	}
	public TpProductActiveSq setVspZt1(String vspZt1) {
		this.vspZt1 = vspZt1;
		return this;
	}
	public String getVspCct() {
		return vspCct;
	}
	public TpProductActiveSq setVspCct(String vspCct) {
		this.vspCct = vspCct;
		return this;
	}
	public String getVspXjt1() {
		return vspXjt1;
	}
	public TpProductActiveSq setVspXjt1(String vspXjt1) {
		this.vspXjt1 = vspXjt1;
		return this;
	}
	public String getVspXjt2() {
		return vspXjt2;
	}
	public TpProductActiveSq setVspXjt2(String vspXjt2) {
		this.vspXjt2 = vspXjt2;
		return this;
	}
	public String getVspXjt3() {
		return vspXjt3;
	}
	public TpProductActiveSq setVspXjt3(String vspXjt3) {
		this.vspXjt3 = vspXjt3;
		return this;
	}
	public String getVspCjt1() {
		return vspCjt1;
	}
	public TpProductActiveSq setVspCjt1(String vspCjt1) {
		this.vspCjt1 = vspCjt1;
		return this;
	}
	public String getVspCjt2() {
		return vspCjt2;
	}
	public TpProductActiveSq setVspCjt2(String vspCjt2) {
		this.vspCjt2 = vspCjt2;
		return this;
	}
	public String getVspCjt3() {
		return vspCjt3;
	}
	public TpProductActiveSq setVspCjt3(String vspCjt3) {
		this.vspCjt3 = vspCjt3;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TpProductActiveSq setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TpProductActiveSq setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TpProductActiveSq setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TpProductActiveSq tpProductActiveSq(
		String bid,
		String createChangeId,
		Integer effectStock,
		String vgsBm,
		Long listingId,
		String code,
		String name,
		String codeMerge,
		BigDecimal fprice,
		String vspLm1,
		String vtitle,
		String vspGjz,
		String vspMd1,
		String vspMd2,
		String vspMd3,
		String vspMd4,
		String vspMd5,
		String vspZt,
		String vspZt1,
		String vspCct,
		String vspXjt1,
		String vspXjt2,
		String vspXjt3,
		String vspCjt1,
		String vspCjt2,
		String vspCjt3,
		Integer status
			) {
		TpProductActiveSq entity = new TpProductActiveSq();
		entity.setBid(bid);
		entity.setCreateChangeId(createChangeId);
		entity.setEffectStock(effectStock);
		entity.setVgsBm(vgsBm);
		entity.setListingId(listingId);
		entity.setCode(code);
		entity.setName(name);
		entity.setCodeMerge(codeMerge);
		entity.setFprice(fprice);
		entity.setVspLm1(vspLm1);
		entity.setVtitle(vtitle);
		entity.setVspGjz(vspGjz);
		entity.setVspMd1(vspMd1);
		entity.setVspMd2(vspMd2);
		entity.setVspMd3(vspMd3);
		entity.setVspMd4(vspMd4);
		entity.setVspMd5(vspMd5);
		entity.setVspZt(vspZt);
		entity.setVspZt1(vspZt1);
		entity.setVspCct(vspCct);
		entity.setVspXjt1(vspXjt1);
		entity.setVspXjt2(vspXjt2);
		entity.setVspXjt3(vspXjt3);
		entity.setVspCjt1(vspCjt1);
		entity.setVspCjt2(vspCjt2);
		entity.setVspCjt3(vspCjt3);
		entity.setStatus(status);
		return entity;
	}
}